﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="ControlManagement.aspx.cs" Inherits="Medianamik.UI.ConfigManagement.ControlManagement" MasterPageFile="../MasterPages/MedianamikModule.Master" %>

<asp:Content ID="ContextMenuContent" ContentPlaceHolderID="ContextMenu" runat="server">
    <asp:LinkButton ID="btnSave" runat="server" CssClass="Action BtSauvegarder" OnClick="btnSave_Click" Text="Sauvegarder" />
    <a href="<%= ReturnURL %>" class="Action BtAnnuler"><%=Resources("Medianamik_Global", "Cancel") %></a>
</asp:Content>

<asp:Content ID="CenterContent" ContentPlaceHolderID="CenterContent" runat="server">

	<asp:ValidationSummary ID="valSummary" runat="server" DisplayMode="BulletList" ShowMessageBox="false" ShowSummary="true" /><br />

    <!-- Nom du contrôle -->
    <label class="EditionPage"><%=Resources("Medianamik_ConfigurationManagement", "ControlName") %><span class="ChampObligatoire">*</span>
        <asp:RequiredFieldValidator ID="reqControlName"  runat="server" ControlToValidate="txtControlName" ErrorMessage="Le nom du contrôle est requis." Display="None" />
        <asp:RegularExpressionValidator ID="regControlName" EnableClientScript="false" runat="server" ControlToValidate="txtControlName" Text="Ce champ n'est pas valide." ErrorMessage="Le nom du contrôle n'est pas valide. Exemple : DropDownList" Display="Dynamic" ValidationExpression="[A-Z][a-zA-Z]*" />
    </label>
    <p>
        <asp:TextBox ID="txtControlName" runat="server" CssClass="TxtBox" TabIndex="1" />
    </p>
    <br />
    
    <!-- Data Type -->
    
    
	<p><span class="ChampObligatoire">*</span> <%=Resources("medianamik_global","RequiredField") %></p>
			
</asp:Content>
